package com.oceanread.cn.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.oceanread.cn.entity.Drillhole1;
import com.oceanread.cn.entity.Pipeline;
import com.oceanread.cn.entity.Projections;

import java.util.List;

public interface IPipelineService extends IService<Pipeline> {
    List<Pipeline> getall();
    List<Pipeline> query(String key,String value);
    List<Pipeline> equal(String key,String value);
    List<Pipeline> equal2(String key,String value,String key2,String value2);
    int insert(String PrjCode, String Name, String Type , String IDLine, String IDPoint,
               String North, String East, String Lat, String Lon, String Distance,
               String DisZ, String Angle, String Note, String Line, Integer pointOrder, String length, String depth);
    Integer update(Pipeline pipeline);
    Integer delete(int id);

    List<Pipeline> query1(String key, String value, int page, int size);

    Integer getnum();
    Integer getnumquery(String key, String value);

    List<Pipeline> findall(int page, int size);

    List<Pipeline> getLine(String PrjCode);
    List<Pipeline> getPoint(String PrjCode,String IDLine);
    List<Pipeline> getLine_Page(String PrjCode,int page, int size);
    Integer getLine_Num(String PrjCode);
    List<Pipeline> getPoint_Page(String PrjCode,String IDLine,int page, int size);
    Integer getPoint_Num(String PrjCode,String IDLine);

}
